package com.zhiyou.model;

import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data//get set方法
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class Homework implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//homework作业信息
	private Integer homework_id;//作业id
	private Integer class_id;//班级id
	private Integer student_id;//学生id
	private String student_name;//科目名字
	private Integer course_id;//作业科目
	private String course_name;//科目名字
	private String homework_content_url;//作业内容的照片
	private String homework_reason;//作业不通过的原因
	private Integer homework_approve_statue;//审批状态
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Timestamp homework_commit_time;//提交时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Timestamp homework_approve_time;//审批时间
}